<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.org/ui"
                template="/templates/mainLayout.xhtml"
                xmlns:f="http://java.sun.com/jsf/core">
    
    <ui:define name="title">Trang chủ</ui:define>
    <ui:define name="content">
        <f:event type="preRenderView" listener="#{homeBean.preRenderAction()}" />
        <h:form id ="contentForm">
            <p:panel header="" style="width: 50%; margin-top: 10px; margin-left: auto; margin-right: auto;">
                <p:messages id="msgs"/>
            </p:panel>
        </h:form>
    </ui:define>
</ui:composition>